#!/usr/bin/env python3

import Xlib
import Xlib.display

display = Xlib.display.Display()
screen = display.screen()
root = screen.root

gc = root.create_gc(foreground = screen.white_pixel, background = screen.black_pixel)


root.draw_text(gc, 100, 100, b"Hello, world!")  # changed the coords more towards the center

display.flush()  # To actually send the request to the server
